//
//  RankingViewController.h
//  Ratings
//
//  Created by steven.zhan on 14-9-17.
//  Copyright (c) 2014年 hpxbzz. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RatePlayerViewController.h"
#import "Player.h"

@class RankingViewController;

@protocol RankingViewControllerDelegate <NSObject>

- (void)rankingViewControllerDidChangeRate:(RankingViewController*)viewController
            rateChangedPlayer:(Player*)player;

@end

@interface RankingViewController : UITableViewController<RatePlayerViewControllerDelegate>

@property (nonatomic, weak)id<RankingViewControllerDelegate> delegate;
@property (nonatomic, strong)NSMutableArray *rankedPlayers;
@property (nonatomic, assign)int requiredRating;
-(IBAction)done:(id)sender;

@end
